package com.thinkTank.oa.entity;

import java.io.Serializable;
import java.util.List;

public class UserGroup implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private String pid;
	//字典表的ID,在字典表中的groupname为userGroup
	private Integer groupNameId;
	//user的主键
	private String userId;
	//身份
	private Integer position;
	
	/**组长*/
	public static final Integer GROUP_LEADER = 1;
	/**组员*/
	public static final Integer GROUP_MEMBER = 2;
	
	/**用于查询*/
	private List<Integer> groupNameIdList;
	/**用于查询*/
	private List<String> userIdList;
	
	/**用于显示*/
	private String groupName;
	/**用于显示*/
	private String userName;
	/**用于显示*/
	private String positionName;
	
	public String getPid() {
		return pid;
	}
	public UserGroup setPid(String pid) {
		this.pid = pid;
		return this;
	}
	public Integer getGroupNameId() {
		return groupNameId;
	}
	public UserGroup setGroupNameId(Integer groupNameId) {
		this.groupNameId = groupNameId;
		return this;
	}
	public String getUserId() {
		return userId;
	}
	public UserGroup setUserId(String userId) {
		this.userId = userId;
		return this;
	}
	public Integer getPosition() {
		return position;
	}
	public UserGroup setPosition(Integer position) {
		this.position = position;
		return this;
	}
	public List<Integer> getGroupNameIdList() {
		return groupNameIdList;
	}
	public UserGroup setGroupNameIdList(List<Integer> groupNameIdList) {
		this.groupNameIdList = groupNameIdList;
		return this;
	}
	public List<String> getUserIdList() {
		return userIdList;
	}
	public UserGroup setUserIdList(List<String> userIdList) {
		this.userIdList = userIdList;
		return this;
	}
	public String getGroupName() {
		return groupName;
	}
	public UserGroup setGroupName(String groupName) {
		this.groupName = groupName;
		return this;
	}
	public String getUserName() {
		return userName;
	}
	public UserGroup setUserName(String userName) {
		this.userName = userName;
		return this;
	}
	public String getPositionName() {
		return positionName;
	}
	public UserGroup setPositionName(String positionName) {
		this.positionName = positionName;
		return this;
	}
	
	
	
}
